#!/usr/bin/env node

const pi=Math.PI;

class Circle{
  constructor(r){
    this.#r=r;
  }

  get area(){
    return this.#r*this.#r*pi;
  }

  get dia(){
    return this.#r*2;
  }

  get cir(){
    return this.#r*2*pi;
  }

#r=0;
}

export default Circle;

